package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/7/7 16:20
 */
@Data
@Accessors(chain = true)
@ApiModel(value="ReplyHomeworkReq对象", description="查看批复作业请求参数")
public class ReplyHomeworkReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前教师id")
    private Integer teacherId;

    @ApiModelProperty(value = "批复状态")
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "开始提交时间")
    private Date beginSubmitTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "结束提交时间")
    private Date endSubmitTime;

    @ApiModelProperty(value = "作业主题")
    private String homeworkTheme;

    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    @ApiModelProperty(value = "小组id")
    private Integer groupId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "开始完成时间")
    private Date beginCompleteTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "结束完成时间")
    private Date endCompleteTime;

    @ApiModelProperty(value = "实训老师")
    private Integer trainTeacherId;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "作业类型")
    private Integer homeworkType;

    @ApiModelProperty(value = "分数")
    private float score;

    @ApiModelProperty(value = "作业Id")
    private Integer homeworkId;

    @ApiModelProperty(value = "教师批复作业内容")
    private String replyContent;

    @ApiModelProperty(value = "当前页")
    private Integer pageNum;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;
}
